(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
LONG StrToLong()
SYNOPSIS
STRPTR string
LONG * value

LOCATION
In DOSBase at offset 136
FUNCTION
Convert a string to a long number.

INPUTS
string
The value to convert
value
The result is returned here
RESULT
How many characters in the string were considered when it was converted or -1 if no valid number could be found.

NOTES
The routine doesn't check if the number if too large.

EXAMPLE
// Valid number are: 5, -1, +3, +0007, etc.

BUGS
SEE ALSO
INTERNALS
HISTORY
18.02.1997 digulla
Polish

Added docs

27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column

21.11.1996 aros
Created macros AROS_SLIB_ENTRY() for assembler files, too, to solve naming problems.

The #includes in the header *must* begin in the first column. Otherwise makedepend will ignore them (GCC works, though).

Removed a couple of Logs

24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA
01.08.1996 digulla
Added standard header for all files
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS